home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 May (DVD) / Macworld Resource DVD May 2003.toast / Data / Software / Games / JKII_Demo.sit / Jedi Knight II Demo / demo / assets0.pk3 / shaders / items.shader < prev    next >
Encoding:
Text File  |  2002-03-22  |  4.9 KB  |  235 lines

  1. models/weapons2/detpack/lights
  2. {
  3.     q3map_nolightmap
  4.     q3map_onlyvertexlighting
  5.     {
  6.         map models/weapons2/detpack/lights
  7.         blendFunc GL_ONE GL_ZERO
  8.         rgbGen lightingDiffuse
  9.     }
  10.     {
  11.         map models/weapons2/detpack/lightsglow
  12.         blendFunc GL_ONE GL_ONE
  13.         rgbGen wave square 0 1 0 2
  14.     }
  15. }
  16.  
  17. models/weapons2/detpack/nolights
  18. {
  19.     q3map_nolightmap
  20.     q3map_onlyvertexlighting
  21.     {
  22.         map models/weapons2/detpack/lights
  23.         blendFunc GL_ONE GL_ZERO
  24.         rgbGen lightingDiffuse
  25.     }
  26. }
  27.  
  28. models/items/medpac
  29. {
  30.     q3map_nolightmap
  31.     q3map_onlyvertexlighting
  32.     {
  33.         map models/items/medpac
  34.         blendFunc GL_ONE GL_ZERO
  35.         rgbGen lightingDiffuse
  36.     }
  37.     {
  38.         map models/items/medpacglow
  39.         blendFunc GL_ONE GL_ONE
  40.         rgbGen wave square 1 1 0 0.75
  41.     }
  42. }
  43.  
  44. models/items/power_converter_panelon
  45. {
  46.     q3map_nolightmap
  47.     q3map_onlyvertexlighting
  48.     {
  49.         map models/items/power_converter_panelon
  50.         blendFunc GL_ONE GL_ZERO
  51.         rgbGen lightingDiffuse
  52.     }
  53.     {
  54.         map models/items/power_converter_panel1
  55.         blendFunc GL_ONE GL_ONE
  56.         rgbGen wave square 0 1 0.5 1
  57.     }
  58.     {
  59.         map models/items/power_converter_panel2
  60.         blendFunc GL_ONE GL_ONE
  61.         rgbGen wave square 0 1 1 0.5
  62.     }
  63. }
  64.  
  65. models/items/shieldpackon
  66. {
  67.     q3map_nolightmap
  68.     q3map_onlyvertexlighting
  69.     {
  70.         map models/items/shieldpackon
  71.         blendFunc GL_ONE GL_ZERO
  72.         rgbGen lightingDiffuse
  73.     }
  74.     {
  75.         map models/items/shieldpackglow
  76.         blendFunc GL_ONE GL_ONE
  77.         rgbGen wave sin 1 0.5 0 2
  78.     }
  79. }
  80.  
  81. models/items/battery
  82. {
  83.     q3map_nolightmap
  84.     q3map_onlyvertexlighting
  85.     {
  86.         map models/items/battery
  87.         blendFunc GL_ONE GL_ZERO
  88.         rgbGen lightingDiffuse
  89.     }
  90.     {
  91.         map models/items/battery_glow
  92.         blendFunc GL_ONE GL_ONE
  93.         rgbGen wave sin 0.4 0.4 0 0.5
  94.     }
  95. }
  96.  
  97. models/items/bacta
  98. {
  99.     q3map_nolightmap
  100.     q3map_onlyvertexlighting
  101.     sort    seeThrough
  102.     {
  103.         map textures/kejim/coolant
  104.         blendFunc GL_ONE GL_ONE
  105.         rgbGen wave sin 1 0.25 0 0.25
  106.         tcMod scroll 0.15 0
  107.     }
  108.     {
  109.         map models/items/bacta
  110.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  111.         rgbGen lightingDiffuse
  112.     }
  113. }
  114.  
  115. models/items/power_converter_panel
  116. {
  117.     q3map_nolightmap
  118.     q3map_onlyvertexlighting
  119.     {
  120.         map models/items/power_converter_panel
  121.         blendFunc GL_ONE GL_ZERO
  122.         rgbGen lightingDiffuse
  123.     }
  124.     {
  125.         map models/items/power_converter_panel1
  126.         blendFunc GL_ONE GL_ONE
  127.         rgbGen wave square 1 1 0.5 1
  128.     }
  129.     {
  130.         map models/items/power_converter_panel2
  131.         blendFunc GL_ONE GL_ONE
  132.         rgbGen wave square 1 1 -1 0.5
  133.     }
  134. }
  135.  
  136. models/items/a_shield
  137. {
  138.     q3map_nolightmap
  139.     q3map_onlyvertexlighting
  140.     {
  141.         map models/items/a_shield
  142.         blendFunc GL_ONE GL_ZERO
  143.         rgbGen lightingDiffuse
  144.     }
  145.     {
  146.         map models/items/a_shield_glow
  147.         blendFunc GL_ONE GL_ONE
  148.     }
  149.     {
  150.         animMap 2 models/items/a_shield_glow2 gfx/colors/black 
  151.         blendFunc GL_ONE GL_ONE
  152.         rgbGen wave inversesawtooth 0 2 0.5 1.5
  153.     }
  154. }
  155.  
  156. models/items/a_pwr_converter
  157. {
  158.     q3map_nolightmap
  159.     q3map_onlyvertexlighting
  160.     {
  161.         map models/items/a_pwr_converter
  162.         blendFunc GL_ONE GL_ZERO
  163.         rgbGen lightingDiffuse
  164.     }
  165.     {
  166.         map models/items/a_pwr_converter_glow
  167.         blendFunc GL_ONE GL_ONE
  168.     }
  169.     {
  170.         animMap 2 models/items/a_pwr_converter_glow2 gfx/colors/black 
  171.         blendFunc GL_ONE GL_ONE
  172.         rgbGen wave sawtooth 0.25 2 0 2
  173.     }
  174. }
  175.  
  176. models/items/psgun
  177. {
  178.     q3map_nolightmap
  179.     q3map_onlyvertexlighting
  180.     {
  181.         map models/map_objects/imp_mine/psgunlight
  182.         blendFunc GL_ONE GL_ZERO
  183.         tcMod scroll 0 1
  184.     }
  185.     {
  186.         map models/map_objects/imp_mine/psgunlight
  187.         blendFunc GL_ONE GL_ONE
  188.         rgbGen wave sin 0 1 0 2
  189.         tcMod scroll 0 1
  190.     }
  191.     {
  192.         map models/items/psgun
  193.         alphaFunc GE128
  194.         blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
  195.         rgbGen lightingDiffuse
  196.     }
  197. }
  198.  
  199. models/items/forcegem
  200. {
  201.     q3map_nolightmap
  202.     {
  203.         map models/items/forcegem
  204.         blendFunc GL_ONE GL_ZERO
  205.     }
  206.     {
  207.         map models/items/forcegem
  208.         blendFunc GL_SRC_ALPHA GL_ONE
  209.         alphaGen lightingSpecular
  210.     }
  211.     {
  212.         map models/items/forcegem
  213.         blendFunc GL_ONE GL_ONE
  214.         rgbGen wave sin 0.4 0.28 0.5 0.45
  215.         tcMod rotate 16
  216.     }
  217. }
  218.  
  219. models/items/antenna
  220. {
  221.     surfaceparm    metalsteps
  222.     q3map_nolightmap
  223.     {
  224.         map models/items/antenna
  225.         blendFunc GL_ONE GL_ZERO
  226.         rgbGen lightingDiffuse
  227.     }
  228.     {
  229.         map models/items/antenna_glow2
  230.         blendFunc GL_ONE GL_ONE
  231.         rgbGen wave sin 1.4 1 0.7 2
  232.     }
  233. }
  234.  
  235.